package com.paic.icore.test.demo.disruptor;

import com.lmax.disruptor.EventHandler;

/**
 * describe: 消费者
 *
 * @author huxingjie
 * @date 2019/03/22
 * @since 3.4
 */
public class LongEventHandler  implements EventHandler<LongEvent> {
    @Override
    public void onEvent(LongEvent event, long sequence, boolean endOfBatch) throws Exception {
        System.out.println("Event: " + event.getValue());
    }
}

    